using Unity.Entities;

namespace DOTS.DOD.LESSON8
{
    struct CubeSharedComponentData : ISharedComponentData
    {
        public float RotateSpeed;
        public float MoveSpeed;
    }

    struct SharingGroup : ISharedComponentData
    {
        //0:Red, 1:Green, 2:Blue
        public int Group;
    }

    struct CubeComponentData : IComponentData
    {
        public float RotateSpeed;
        public float MoveSpeed;
    }
}